﻿<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="LocationEditControl.ascx.cs"
    Inherits="WebApplication.Controls.Management.Company.LocationEditControl" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadTabStrip runat="server" ID="TabStrip1" MultiPageID="RadMultiPage1" SelectedIndex="0">
    <Tabs>
        <telerik:RadTab runat="server" Text="Dane podstawowe" PageViewID="RadPageView1" 
            Selected="True">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Text="Kontakty" PageViewID="RadPageView2">
        </telerik:RadTab>
        <telerik:RadTab runat="server" Text="Działy" Visible="false" PageViewID="RadPageView3">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPage1" SelectedIndex="0" runat="server">
    <telerik:RadPageView ID="RadPageView1" runat="server">
        Nazwa:
        <asp:TextBox ID="Name" runat="server"></asp:TextBox><br />
        Opis:
        <asp:TextBox ID="Description" runat="server"></asp:TextBox><br />
        Adres:
        <br />
        Ulica:
        <asp:TextBox ID="Street" runat="server"></asp:TextBox><br />
        Nr budynku:
        <asp:TextBox ID="BuildingNumber" runat="server"></asp:TextBox><br />
        Nr lokalu:
        <asp:TextBox ID="LocalNumer" runat="server"></asp:TextBox><br />
        Dystrykt:
        <asp:TextBox ID="District" runat="server"></asp:TextBox><br />
        <asp:Button ID="SelectCity" Text="Wybierz miasto" OnClientClick="return false;" runat="server" /><br />
        Miasto:
        <asp:TextBox ID="City" Enabled="false" runat="server"></asp:TextBox><br />
        Województwo:
        <asp:TextBox ID="Province" Enabled="false" runat="server"></asp:TextBox><br />
        Sklep nadrzędny:<br />
        <asp:Button ID="SelectParentLocation" Text="Wybierz nadrzędny sklep" OnClientClick="return false;"
            runat="server" /><br />
        Nazwa:
        <asp:TextBox ID="ParentName" Enabled="false" runat="server"></asp:TextBox><br />
        Opis:
        <asp:TextBox ID="ParentDescription" Enabled="false" runat="server"></asp:TextBox><br />
        Adres:
        <br />
        Ulica:
        <asp:TextBox ID="ParentStreet" Enabled="false" runat="server"></asp:TextBox><br />
        Nr budynku:
        <asp:TextBox ID="ParentBuildingNumber" runat="server"></asp:TextBox><br />
        Nr lokalu:
        <asp:TextBox ID="ParentLocalNumber" runat="server"></asp:TextBox><br />
        Dystrykt:
        <asp:TextBox ID="ParentDiscrict" runat="server"></asp:TextBox><br />
        Miasto:
        <asp:TextBox ID="ParentCity" Enabled="false" runat="server"></asp:TextBox><br />
        Województwo:
        <asp:TextBox ID="ParentProvince" Enabled="false" runat="server"></asp:TextBox><br />
        Sieć handlowa:
        <br />
        <asp:Button ID="SelectChainStore" Text="Wybierz sieć handlową" OnClientClick="return false;"
            runat="server" /><br />
        Nazwa:
        <asp:TextBox ID="ChainStoreName" Enabled="false" runat="server"></asp:TextBox><br />
    </telerik:RadPageView>
    <telerik:RadPageView ID="RadPageView2" runat="server">
        Dane osoby kontaktowej:
        <br />
        Imię:
        <asp:TextBox ID="ContactName" runat="server"></asp:TextBox><br />
        Nazwisko:
        <asp:TextBox ID="ContactSurname" runat="server"></asp:TextBox><br />
        Opis:
        <asp:TextBox ID="ContactDescription" runat="server"></asp:TextBox><br />
        Email:
        <asp:TextBox ID="ContactEmail" runat="server"></asp:TextBox><br />
        Telefon:
        <asp:TextBox ID="ContactPhone" runat="server"></asp:TextBox><br />
        Telefon komórkowy:
        <asp:TextBox ID="ContactMobilePhone" runat="server"></asp:TextBox><br />
        Fax:
        <asp:TextBox ID="ContactFax" runat="server"></asp:TextBox><br />
        Dane osoby zarządzającej:
        <br />
        <asp:Button ID="SelectSupervisor" Text="Wybierz osobę zarządzającą" OnClientClick="return false;"
            runat="server" /><br />
        Imię:
        <asp:TextBox ID="SupervisorName" Enabled="false" runat="server"></asp:TextBox><br />
        Nazwisko:
        <asp:TextBox ID="SupervisorSurname" Enabled="false" runat="server"></asp:TextBox><br />
        Pesel:
        <asp:TextBox ID="SupervisorPesel" Enabled="false" runat="server"></asp:TextBox><br />
        Email:
        <asp:TextBox ID="SupervisorEmail" Enabled="false" runat="server"></asp:TextBox><br />
    </telerik:RadPageView>
    <telerik:RadPageView ID="RadPageView3" runat="server">
        Działy
    </telerik:RadPageView>
</telerik:RadMultiPage>
<asp:Button ID="btInsert" runat="server" Text="Dodaj" OnClientClick="return false;" />
<asp:Button ID="btUpdate" runat="server" Text="Zapisz" CommandName="Update" />
<asp:Button ID="btCancel" runat="server" Text="Anuluj" CommandName="Cancel" />
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    <Windows>
        <telerik:RadWindow ID="SelectCityWindow" runat="server" Behavior="Default" InitialBehavior="None"
            Modal="True" NavigateUrl="~/Restricted/Modal/SelectCityPage.aspx">
        </telerik:RadWindow>
        <telerik:RadWindow ID="SelectChainStoreWindow" runat="server" Behavior="Default"
            InitialBehavior="None" Modal="True" NavigateUrl="~/Restricted/Modal/SelectChainStorePage.aspx">
        </telerik:RadWindow>
        <telerik:RadWindow ID="SelectPersonWindow" runat="server" Behavior="Default" InitialBehavior="None"
            Modal="True" NavigateUrl="~/Restricted/Modal/SelectContactPersonPage.aspx">
        </telerik:RadWindow>
        <telerik:RadWindow ID="SelectParentLocationWindow" runat="server" Behavior="Default"
            InitialBehavior="None" Modal="True" NavigateUrl="~/Restricted/Modal/SelectLocationPage.aspx">
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
